import _ from 'lodash';
import "./style.css";
import photo from "./photo.jpg";
import Data from "./data.xml";


function component() {
    var element = document.createElement('div');

    // Lodash, currently included via a script, is required for this line to work
    // Lodash, now imported by this script
    element.innerHTML = _.join(['Hello', 'webpack holll'], ' ');
    element.classList.add('hello');
    var myphoto = new Image();
    myphoto.src = photo;
    element.appendChild(myphoto);

    console.log(Data);

    return element;
}

document.body.appendChild(component());